package com.tbit.main.pojo;

import java.util.List;

/**
 * @author LMY
 * @create 2021-01-20 13:25
 * 道钉调试工具
 */
public class SpikeDebug {

    private List<Nodes> nodes;      //道钉数据
    private String updateTime;     //时间戳

    public List<Nodes> getNodes() {
        return nodes;
    }

    public void setNodes(List<Nodes> nodes) {
        this.nodes = nodes;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    /*public void setUpdateTime(Long updateTime) {
        SimpleDateFormat format =  new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); //设置格式
        String timeText=format.format(updateTime);                                //获得带格式的字符串
        this.updateTime = timeText;
    }*/

    @Override
    public String toString() {
        return "SpikeDebug{" +
                "nodes=" + nodes +
                ", updateTime=" + updateTime +
                '}';
    }
}
